/// <reference path="jquery.d.ts" />
/// <reference path="extensions.ts" />
/// <reference path="app.ts" />

$(document).on("ready", function () {
    App.onReady(function () {
        //App.navigate("Movie/Overview");
        $(window).on("hashchange", function (e) {
            App.navigate(window.location.hash);
        });
        console.log(window.location.hash);
    });
    App.init({
        baseURL: window.location.protocol + "//" + window.location.host,
        viewPath: window.location.pathname
    });
});